package cn.wolfcode.service.impl;

import cn.wolfcode.mapper.EmployeeRoleMapper;
import cn.wolfcode.service.IEmpRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmpRoleService implements IEmpRoleService {
    @Autowired
    private EmployeeRoleMapper employeeRoleMapper;
    @Override
    public void insertRelation(Long eid, Long rid) {
        employeeRoleMapper.insertRelation(eid,rid);
    }

    @Override
    public void deleteRelation(Long eid) {
        employeeRoleMapper.deleteRelation(eid);
    }


}
